import "./App.scss";
import { BrowserRouter, Switch } from "react-router-dom";
import RouterView from "./router";
import routes from "./router/config";

function App() {
    return (
        <div className="App">
            <BrowserRouter>
                <Switch>
                    <RouterView routes={routes} />
                </Switch>
            </BrowserRouter>
        </div>
    );
}

export default App;
